import request from '@/utils/request';

/**
 * 日报表查询
 * @param {*} params 
 */
export async function getDailyReportList(params) {
  return request('/reportForms/getDailyReportList', {
    method: 'POST',
    data: { ...params }
  });
}

/**
 * 导出日报表列表
 * @param {*} params 
 */
export async function exportDailyReportList(params) {
  return request('/reportForms/exportDailyReportList', {
    method: 'POST',
    data: { ...params }
  });
}

/**
 * 根据用户信息查询场馆List
 * @param {*} params 
 */
export async function fetchShopList(params) {
  return request('/venueInfo/queryVenueInfoListByUserId', {
    method: 'POST',
    requestType:'form',
    data: { ...params },
  });
}

/**
 * 营收报表
 * @param {*} params 
 * @returns 
 */
export async function queryDailyReports(params) {
  return request('/reportFormsV2/queryDailyReports', {
    method: 'POST',
    data: { ...params }
  });
}


export async function exportDailyReportList2(params) {
  return request('/reportFormsV2/exportDailyReportList', {
    method: 'POST',
    data: { ...params }
  });
}
